// WorldPersist.cpp: implementation of the WorldPersist class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "WorldPersist.h"
#include "World.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

namespace PDMS
{
	namespace PDMSDBIF
	{
		BEGIN_REGISTER_MAP( WorldPersist, PersistRegBase )
			REGISTER( UE_RUNTIME_CLASS( PDMSDomain::World ), GET_REGISTER( PersistRegBase, VersionOne ) )
		END_REGISTER_MAP();

		WorldPersist::WorldPersist()
		{
			
		}
		
		WorldPersist::~WorldPersist()
		{
			
		}
		
		UESoft::ErrorStatus WorldPersist::Retrieve( Persistable*& pObj )
		{
			return ReadPaternity( pObj );
		}
		
		UESoft::ErrorStatus WorldPersist::Create( Persistable* pObj )
		{
			return CreatePaternity( pObj );
		}
		
		UESoft::ErrorStatus WorldPersist::Update( Persistable* pObj )
		{
			return UESoft::eOk;
		}
	}
}
